package com.chatplus.application.common.enumeration;

/**
 * 接口Request的类型，主要分是否来自其它服务的SDK发起的请求，和普通的http请求
 */
public enum ReqTypeEnum {
    NORMAL(0, "normal"),
    FROM_SDK(1, "sdk");
    private int code;
    private String name;

    ReqTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
